Composite Event Specification in Active Databases: Model & Implementation

نویسندگان

  • Narain H. Gehani
  • H. V. Jagadish
  • Oded Shmueli
چکیده

Active database systems require facilities to specify triggers that fire when specified events occur. Wepropose a language for specifying composite events as event expressions, formed using event operators andevents (primitive or composite). An event expression maps an event history to another event history thatcontains only the events at which the event expression is ‘‘satisfied’’ and at which the trigger should fire.We present several examples illustrating how quite complex event specifications are possible using eventexpressions. In addition to the basic event operators, we also provide facilities that make it easier to specify compositeevents. ‘‘Pipes’’ allow users to isolate sub-histories of interest. ‘‘Correlation variables’’ allow users toensure that different parts of an event expression are satisfied by the same event, thereby facilitating thecoordination of sub-events within a composite event. We show how to efficiently implement event expressions using finite automata. Each event causes anautomaton to change state. When an automaton reaches an accepting state, a composite event of interest isrecognized, and the corresponding trigger fired. Events have attributes. For primitive events, these could be parameters of the activity that caused the event,selected parts of the database state, or functions computed therefrom. For composite events, attributes arederived from the attributes of the constituent primitive events. These attributes can be used in checkingconditions, and in any actions triggered. Event expressions can specify values (or sets or ranges of values)for particular attributes, and can even require that some attributes be equal. The composite event specifiedby the expression does not occur unless the specified condition on attributes is satisfied.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Snoop: An Expressive Event Specification Language for Active Databases

Making a database system active to meet the requirements of a wide range of applications entails developing an expressive event specification language and its implementation. Extant systems support mostly database events and in some cases a few predefined events. This paper discusses an event specification language (termed Snoop) for active databases. We define an event, distinguish between eve...

متن کامل

Composite Events for Active Databases: Semantics, Contexts and Detection

Making a database system active entails developing an expressive event specification language with well-defined semantics, algorithms for the detection of composite events, and an architecture for an event detector along with its implementation. Thii paper presents the semantics of composite events using the notion of a global event history (or a global event-log). Parameter contexts are introd...

متن کامل

Composite Event Detection in Active Databases and Distributed Systems

This report summarizes how Snoop, a composite event detection language for active databases, and Sentinel, an implementation of Snoop, were designed and how one can model an ECA-Rule in Snoop. However, it shows also that, by means of the meta-model for event detection algebras, one can recognize that Snoop is not completely coherent and lacks of symmetry as well as of consistency. Moreover, it ...

متن کامل

Formalization and Detection of Events Using Interval-Based Semantics

Active databases utilize Event-Condition-Action rules to provide active capability to the underlying system. An event was initially defined to be an instantaneous, atomic occurrence of interest and the time of occurrence of the last event in an event expression was used as the time of occurrence for an entire event expression (detection-based semantics), rather than the interval over which an e...

متن کامل

Composite Event Management in TriGS - Concepts and Implementation

Active object-oriented database systems are a commonly accepted solution for capturing the timeand context-dependent knowledge of non-standard applications. Several attempts have been made already to integrate active concepts into object-oriented database systems and to increase the expressive power of event specification languages. However, this has often been done without considering the cons...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992